<template>
  <div>
    {{form.name}}
    {{name}}
    <button @click='getvalues'>click</button>
  </div>

</template>

<script>
import {reactive, ref} from 'vue'

export default {
  name: "ceshi",
  setup() {
    let form = reactive({'name': '11', 'pass': '22'})
    let name = ref('123')
    let getvalues=()=>{
      form.name = '你好'
      name.value = '爆爆'
    }
    return{
      form,
      getvalues,
      name
    }
  }
}
</script>

<style scoped>

</style>
